const express = require("express");
const cors = require("cors")
const oauth = require("./middleware/oauth")
const app = express();

app.use(cors())

app.get('/oauth/github', oauth)

app.listen("12345", () => {
    console.log("service start at port 12345");
})